Skip to content

feat(vscode): add agent action timeline undo - #887

Open
AryanNandanwar wants to merge 6 commits into
Nano-Collective:mainfrom
AryanNandanwar:agent-action-timeline-undo
Open

feat(vscode): add agent action timeline undo#887
AryanNandanwar wants to merge 6 commits into
Nano-Collective:mainfrom
AryanNandanwar:agent-action-timeline-undo

Conversation

@AryanNandanwar

Copy link
Copy Markdown
Contributor

Description

Adds an action timeline to the VS Code sidebar chat so users can click a prior mutating tool step and revert workspace files plus conversation history back to that checkpoint. Closes #809.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Changeset

  • Added a changeset (pnpm changeset) describing this change for the changelog

Docs-only or internal chores need no changeset (or run pnpm changeset --empty to note that intentionally).

Testing

Automated Tests

  • New features include passing tests in .spec.ts/tsx files
  • All existing tests pass (pnpm test:all completes successfully)
  • Tests cover both success and error scenarios

Manual Testing

  • Tested with Ollama
  • Tested with OpenRouter
  • Tested with OpenAI-compatible API
  • Tested MCP integration (if applicable)

Checklist

  • If this was for an open issue, I was assigned to it
  • Code follows project style guidelines
  • Self-review completed
  • Documentation updated (if needed)
  • No breaking changes (or clearly documented)
  • Appropriate logging added using structured logging (see CONTRIBUTING.md)

AryanNandanwar and others added 2 commits August 18, 2026 02:00
Session snapshots and the scratch test.txt were captured during manual testing and should not ship with the feature.

Co-authored-by: Cursor <cursoragent@cursor.com>
AryanNandanwar and others added 3 commits August 18, 2026 02:27
Timeline capture now calls toolManager.isReadOnly() during tool execution.
The queued-tools spec mock omitted that method, so four tests failed in CI
with "isReadOnly is not a function".

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
@akramcodez

Copy link
Copy Markdown
Collaborator

Hey @AryanNandanwar, could you please resolve the conflicts?

@AryanNandanwar

Copy link
Copy Markdown
Contributor Author

Hey @akramcodez , I'll update it on Tuesday. Currently on vacation.

@cursor
cursor Bot force-pushed the agent-action-timeline-undo branch from 4e11490 to 4f86b07 Compare August 22, 2026 00:07
Bring the branch up to date with Nano-Collective main while keeping
both the action-timeline undo feature and upstream VS Code changes
(settings UI, code-lens runPrompt). Only the eight conflicted paths
needed hand resolution; PR diff vs main stays feature-scoped.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Agent Action Timeline & "Time-Travel" Undo

3 participants